package com.dragon.design.pattern.structural.proxy.jdk;

/**
 * @author dragon
 * @version V1.0.0-RELEASE
 * @date 2019/7/1 19:37
 */
public class OrderServiceImpl implements OrderService {
    @Override
    public int saveOrder(Order order) {
        OrderDao orderDao = new OrderDao();
        orderDao.saveOrder(order);
        return 1;
    }
}
